﻿<%@ Page Language="C#" MasterPageFile="~/admintractor/admin.master" AutoEventWireup="true" CodeFile="UserEdit.aspx.cs" Inherits="admintractor_UserEdit" Title="Quản lý người dùng" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="title">Thống tin chi tiết</div>
    <table style="width: 100%">
        <tr>
            <td style="width:130px;">
                &nbsp;</td>
            <td colspan="3">
                 <asp:Label ID="lbError" runat="server" ForeColor="#FF3300"></asp:Label></td>
        </tr>
        <tr>
            <td style="width:130px;">
                <asp:Label ID="lb_User" runat="server" Text="Tên đăng nhập:(*)"></asp:Label></td>
            <td style="width:280px;">
                <asp:TextBox ID="txtUsername" Width="250" runat="server"></asp:TextBox>
                                    </td>
            <td style="width:100px">
                Quyền:(*)</td>
            <td>
                <asp:DropDownList ID="dropRole" runat="server" Width="200px" 
                    AutoPostBack="True" onselectedindexchanged="dropRole_SelectedIndexChanged">
                </asp:DropDownList>
                                    </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lb_Pass" runat="server" Text="Mật khẩu:(*)"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtPassword" Width="250" runat="server" TextMode="Password"></asp:TextBox>
            </td>
            <td>
                Quản lý:</td>
            <td align="left" rowspan="7" valign="top">
                <asp:CheckBoxList ID="cbl_position" runat="server" Width="230px">
                </asp:CheckBoxList>
                                    </td>
        </tr>
        <tr>
            <td>
                Email:(*)</td>
            <td>
                <asp:TextBox ID="txtEmail" Width="250" runat="server"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
           
        </tr>
        <tr>
            <td>
                Messenger:</td>
            <td>
                <asp:TextBox ID="txtMessenger" Width="250" runat="server"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
            
        </tr>
        <tr>
            <td>
                Tên:</td>
            <td>
                <asp:TextBox ID="txtName" Width="250" runat="server"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
            
        </tr>
        <tr>
            <td valign="top">
                Giới tính:</td>
            <td>
                <asp:RadioButton ID="rb_male" runat="server" Checked="True" GroupName="gender" 
                    Text="Nam" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:RadioButton ID="rb_female" runat="server" GroupName="gender" Text="Nữ" />
            </td>
            <td>
                &nbsp;</td>
            
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td >
                <asp:CheckBox ID="cbView" runat="server" Text="Hiển thị" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:CheckBox ID="cbStatus" runat="server" Text="Kích hoạt" />
            </td>
            <td>
                &nbsp;</td>
           
        </tr>
        <tr valign="top">
            <td>
                Địa chỉ&nbsp;</td>
            <td>
                <asp:TextBox ID="txt_Address" runat="server" TextMode="MultiLine" Width="251px" 
                    Height="59px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
           
        </tr>
        <tr>
            <td>
                Ngày sinh:</td>
            <td>
                <asp:TextBox ID="txtBirthday" runat="server" Width="200px"></asp:TextBox>dd/mm/yyyy</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Điện thoại:</td>
            <td>
                <asp:TextBox ID="txtMobile" runat="server" Width="250px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="but_add" runat="server" Text="Thêm mới" 
                    onclick="but_add_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Trở về" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

